﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class DeliveryRobot:Robot
    {
        private DateTime time;
        public override void Working(string robotname)
        {
           
            DateTime nowtime = DateTime.Now;
            int time = nowtime.Hour;
            Console.WriteLine("你好，我是{0}", robotname);
            Console.WriteLine("正在传菜");
            Console.WriteLine("已工作{0}小时",time);
        }
    }
}
